package com.wandian.game.facades
{
	import com.wandian.game.frames.SlotFrame;
	import com.wandian.game.Mediators.SlotMediator;
	/**
	 * 
	 * 老虎机观察者
	 */
	public class SlotFacade extends GameFacade
	{
		public function SlotFacade(name:String)
		{
			super(name);
		}
		override protected function onInitialize():void
		{
			super.onInitialize();
			var frame:SlotFrame=new SlotFrame()
			this.gameContainer.setGameFrame(frame);
			//this.gameContainer.switchToGameFrame();
			//注册中介者，同时注册了所包含的所有事件
			this.registerMediator(new SlotMediator("SlotMediator", frame));		
		}
		
		override protected function onStart(args:Array):void
		{
		}
		
		override protected function onStop():void
		{
		}
	}
}